package com.atguigu.edu.service;

import com.atguigu.edu.entity.Teacher;
import com.atguigu.edu.entity.vo.TeacherQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author ld
 * @since 2022-08-10
 */
public interface TeacherService extends IService<Teacher> {

    Page pageQuery(Long current, Long size, TeacherQuery teacherQuery);

    List<Teacher> getIndexTeacher();

    Map<String, Object> pageInfo(long page,long limit);
}
